import request from '@/utils/request'

function getCaptcha() {
  return request({
    url: '/captcha',
    method: 'get'
  })
}
function captchaVerify(data) {
  return request({
    url: '/captcha/verify',
    method: 'post',
    data
  })
}

export { getCaptcha, captchaVerify }
